// Manipulate string
#include <string>
#include <fstream>
#include <iostream>

using namespace std;

int main(){
	ifstream in("Scopy.cpp");
	ofstream out("Scopy2.cpp");

	int i = 1;
	string s;

	while(getline(in, s)){
		cout << i << " " << s << endl;
		i++;
		out << s << "\n";

	}
		


}///:~